Animate a marker along line | Mapbox Create a marker and animate its position along the length of a line by looking up ... geojson.coordinates[j][1], geojson.coordinates[j][0])); // Move to the next point ...